package com.hk.service.order;

import java.util.List;

import com.hk.commons.HqlFilter;
import com.hk.commons.entity.product.PaymentFromYm;

public interface IPaymentFromYm {
	public PaymentFromYm findById(long id);

	/**
	 * 保存
	 * 
	 * @param b
	 * @return
	 */
	public Long add(PaymentFromYm u);

	/**
	 * 删除
	 * 
	 * @param id
	 * @return
	 */
	public void delete(PaymentFromYm u);

	/**
	 * 更新
	 * 
	 * @param b
	 */
	public void update(PaymentFromYm u);

	public List<PaymentFromYm> findByFilter(HqlFilter hqlFilter, int pageNum,
			int pageSize);

	public List<PaymentFromYm> findByFilter(HqlFilter hqlFilter);

}
